
import { _decorator, Component, Node } from 'cc';
import EventMgr from '../event/EventMgr';
import ManagerBase from '../manager/ManagerBase';
const { ccclass, property } = _decorator;

/**
 * 场景脚本基类
 * @author 神兽白泽
 * @description 交流群：415468592
 */
@ccclass('SceneBase')
export default class SceneBase extends Component {

    start() {

    }


    public onDestroy() {
        EventMgr.offAll(this);
        ManagerBase.clearTarget(this);
    }
}